import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueCookie from 'vue-cookie';
import axios from 'axios';
Vue.config.productionTip = false
/* 设置前端跨域访问cookie */
axios.defaults.withCredentials = true;
axios.defaults.crossDomain = true;

Vue.prototype.$http = axios
Vue.use(ElementUI);
Vue.use(VueCookie);
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
